package cn.sirun.com.fca.account.constant;

/**
 * @author vinsonhuang
 * @date 2018/6/7
 */
public interface AccountStatusCode {

    /**
     * 登陆态Cookie不存在 错误码
     */
    int LOGIN_COOKIE_NON_EXISTENT = 11002;

    /**
     * 没有权限
     */
    int NOT_PERMISSION = 11004;

    String MSG_NOT_PERMISSION = "没有权限";

    /**
     * sessionId无效
     */
    int ACCESS_SESSION_ID_INVALID = 11005;

    /**
     * 图片识别失败
     */
    int PICTURE_RECOGNIZE_FAILED = 11007;

    String MSG_PICTURE_RECOGNIZE_FAILED = "图片识别失败";

    /**
     * 登录态验证失败 错误码
     */
    int LOGIN_STATUS_VERIFY_FAILED = 11008;

    /**
     * 需要验证
     */
    int NEED_CAPTCHA = 11010;

    String MSG_NEED_CAPTCHA = "需要验证";

    /**
     * 车辆已绑定
     */
    int VEHICLE_IS_BOUND = 11023;

    String MSG_VEHICLE_IS_BOUND = "车辆已绑定";

    /**
     * 无效的身份证信息
     */
    int INVALID_IDENTIFY_INFO = 11024;

    String MSG_INVALID_IDENTIFY_INFO = "无效的身份证信息";

    /**
     * 被安全打击，需要调用天御SDK进行验证
     */
    int NEED_VERIFY = 12000;

    /**
     * sessionId无效
     */
    int ACCOUNT_SESSION_ID_INVALID = 12001;

    /**
     * 短信重发过于频繁
     */
    int SMS_RESEND_FREQUENTLY = 12002;

    String MSG_SMS_RESEND_FREQUENTLY = "短信重发过于频繁";

    /**
     * 短信验证码错误
     */
    int SMS_CAPTCHA_ERROR = 12003;

    String MSG_SMS_CAPTCHA_ERROR = "短信验证码错误";

    /**
     * 短信验证码失败次数太多，需要重新发起流程
     */
    int SMS_CAPTCHA_MULTI_ERROR = 12004;

    String MSG_SMS_CAPTCHA_MULTI_ERROR = "短信验证码失败次数过多，需要重新发起流程";

    /**
     * 流程错误
     */
    int FLOW_ERROR = 12005;

    String MSG_FLOW_ERROR = "流程错误，需要重新发起流程";

    /**
     * 账号已注册
     */
    int HAS_REGISTER = 12006;

    String MSG_HAS_REGISTER = "账号已注册";

    /**
     * 系统错误
     */
    int SYSTEM_ERROR = 12007;

    /**
     * 帐号未注册
     */
    int UNREGISTERED = 12008;

    /**
     * 发短信失败
     */
    int SEND_SMS_FAILED = 12010;

    String MSG_SEND_SMS_FAILED = "发短信失败";

    /**
     * 验证码答案验证失败
     */
    int CAPTCHA_VERIFY_FAILED = 12011;

    String MSG_CAPTCHA_VERIFY_FAILED = "验证码答案验证失败";

    /**
     * 用户名或密码错误
     */
    int USERNAME_OR_PWD_ERROR = 12012;

    String MSG_USERNAME_OR_PWD_ERROR = "用户名或密码错误";

    /**
     * 无效的参数
     */
    int INVALID_PARAMETERS = 12016;

    String MSG_INVALID_PARAMETERS = "无效的参数";


    /**
     * 登录态无效 错误码
     */
    int LOGIN_STATUS_INVALID = 12018;

    String MSG_LOGIN_STATUS_INVALID = "登录态无效";

    /**
     * url无效
     */
    int URL_INVALID = 12021;

    String MSG_URL_INVALID = "url无效";

    /**
     * 资料错误
     */
    int PROFILE_ERROR = 12022;

    String MSG_PROFILE_ERROR = "资料错误";

    /**
     * 身份证信息无效
     */
    int ID_INFO_INVALID = 12023;

    String MSG_ID_INFO_INVALID = "身份证信息无效";

    /**
     * 需要先验证pin码
     */
    int NEED_VERIFY_PIN = 11027;

}
